is_realm_stable = {
    NOT = { num_active_factions > 1 }
    NOT = { is_at_war = yes }
    realm_size < 150
}